#include "errorHandler.h"
#include <arpa/inet.h> /* for ntohs,htons */

/**
 * author: Haim Tsolker.
 * 
 * recognize unknow opp code
 * 
 * mark it as error
 */
msg_p handleError (request_p request, msg_p data)
{
	data->msgID = ntohs(errRequest);
	data->msgNumber = ntohs(illegalTftpOpp);
	return data;
}
